package com.macro.mall.request;

import java.time.LocalDate;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class BmsDailyAttendanceRecordParam extends BaseParam {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "用户名称")
    private String userName;

    @ApiModelProperty(value = "岗位id")
    private Long jobId;

    @ApiModelProperty(value = "岗位名称")
    private String jobName;

    @ApiModelProperty(value = "考勤日期")
    private LocalDate attendanceDate;

    @ApiModelProperty(value = "上班打卡时间")
    private LocalDateTime clockInTime;

    @ApiModelProperty(value = "上班打卡地址")
    private String clockInAddress;

    @ApiModelProperty(value = "上班打卡纬度")
    private String clockInLatitude;

    @ApiModelProperty(value = "上班打卡经度")
    private String clockInLongitude;

    @ApiModelProperty(value = "下班打卡时间")
    private LocalDateTime clockOutTime;

    @ApiModelProperty(value = "下班打卡地址")
    private String clockOutAddress;

    @ApiModelProperty(value = "下班打卡纬度")
    private String clockOutLatitude;

    @ApiModelProperty(value = "下班打卡经度")
    private String clockOutLongitude;

    @ApiModelProperty(value = "考勤状态：0-正常；1-上班缺卡；2-上班迟到；3-下班缺卡；4-下班早退；5-缺勤；")
    private String status;

    @ApiModelProperty(value = "考勤统计完成：0-未完成；1-已完成；")
    private Boolean isCompleted;

    @ApiModelProperty(value = "打卡地址（小程序用）")
    private String address;

    @ApiModelProperty(value = "打卡纬度（小程序用）")
    private String latitude;

    @ApiModelProperty(value = "打卡经度（小程序用）")
    private String longitude;

}
